home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 May / 05_02.iso / macos / net / files / Opera 5.0 final / Opera 5.0 PPC / Opera 5.0 PPC.rsrc / OBtn_129_internal buttonset (XML, full) < prev    next >
Encoding:
Extensible Markup Language  |  2002-01-08  |  14.4 KB  |  339 lines

  1. <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2. <?o<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  3. <?opera exportversion="1.0.1" appversion="6.0" ?>
  4.  
  5. <!-- If you are interested in learning about XML quickly, have a look at "http://www.w3.org/TR/REC-xml" -->
  6.  
  7. <!DOCTYPE ButtonSet [
  8.     <!-- Elements... -->
  9.  
  10.     <!ELEMENT ButtonSet (Bar*)>
  11.     <!ELEMENT Bar (Button*)>
  12.     <!ELEMENT Button ((Image|IntImage)*)>
  13.     <!ELEMENT Image (EMPTY)>
  14.  
  15.     <!-- Attributes for the elements... -->
  16.  
  17.     <!ATTLIST Bar
  18.                         Name            CDATA #REQUIRED
  19.                         TextColor        CDATA ""
  20.                         Border            (Always|Yes|PrefDefault|No|Never) "PrefDefault"
  21.                         Width            CDATA ""
  22.                         Height            CDATA ""
  23.                         Padding            CDATA "2"
  24.                         PreSpacing        CDATA "0"
  25.                         PostSpacing        CDATA "0"
  26.                         Thickness        CDATA "2"
  27.                         Priority        CDATA "0"
  28.     >
  29.  
  30.     <!ATTLIST Button
  31.                         Command            CDATA ""
  32.                         TextID            CDATA ""
  33.                         TextColor        CDATA ""
  34.                         Text            CDATA ""
  35.                         Border            (Always|Yes|PrefDefault|No|Never) ""
  36.                         Width            CDATA ""
  37.                         Height            CDATA ""
  38.                         Padding            CDATA ""
  39.                         PreSpacing        CDATA ""
  40.                         PostSpacing        CDATA ""
  41.                         Thickness        CDATA ""
  42.                         ShowWhenFull    (Yes|No) "Yes"
  43.                         ShowWhenSimple    (Yes|No) "Yes"
  44.                         Position        CDATA ""
  45.                         Family            CDATA "0"
  46.                         Priority        CDATA ""
  47.                         Parameter        CDATA ""
  48.     >
  49.  
  50.     <!ATTLIST Image
  51.                         Command            CDATA ""
  52.                         TextID            CDATA ""
  53.                         TextColor        CDATA ""
  54.                         Text            CDATA ""
  55.                         Normal            CDATA #REQUIRED
  56.                         OverNormal        CDATA ""
  57.                         Pushed            CDATA ""
  58.                         OverPushed        CDATA ""
  59.                         Dimmed            CDATA ""
  60.                         OverDimmed        CDATA ""
  61.                         Parameter        CDATA ""
  62.     >
  63.  
  64.     <!ATTLIST IntImage
  65.                         Command            CDATA ""
  66.                         TextID            CDATA ""
  67.                         TextColor        CDATA ""
  68.                         Text            CDATA ""
  69.                         Normal            CDATA #REQUIRED
  70.                         OverNormal        CDATA ""
  71.                         Pushed            CDATA ""
  72.                         OverPushed        CDATA ""
  73.                         Dimmed            CDATA ""
  74.                         OverDimmed        CDATA ""
  75.                         Parameter        CDATA ""
  76.     >
  77. ]>
  78.  
  79. <!-- This is the stuff you can change as you like... -->
  80.  
  81. <ButtonSet>
  82.  
  83.     <Bar Name="ToolBar" Border="Yes" Thickness="2" Width="32" Height="32" PreSpacing="3">
  84.         <Button TextID="21203" Command="New" HelpTextID="10000">    <!-- I refuse to make the New-button jump to the beginning/end of the toolbar, just because it does it on the Windows version! -->
  85.             <IntImage Normal="main_new.png"/>
  86.         </Button>
  87.         <Button TextID="21204" Command="Open" HelpTextID="10001" ShowWhenSimple="No">
  88.             <IntImage Normal="main_open.png"/>
  89.         </Button>
  90.         <Button TextID="21205" Command="Save" HelpTextID="10002" ShowWhenSimple="No">
  91.             <IntImage Normal="main_save.png"/>
  92.         </Button>
  93.         <Button TextID="21206" Command="Print" HelpTextID="10004">
  94.             <IntImage Normal="main_print.png"/>
  95.         </Button>
  96.         <Button TextID="21208" Command="Find" HelpTextID="10227" ShowWhenSimple="No">
  97.             <IntImage Normal="main_find.png"/>
  98.         </Button>
  99.         <Button TextID="22117" Command="Hotlist" HelpTextID="13010" ShowWhenSimple="Yes"> <!-- HelpText="Toggle bookmark window" -->
  100.             <IntImage Normal="main_hotlist.png"/>
  101.         </Button>
  102.         <Button TextID="21209" Command="Previous" HelpTextID="10032">
  103.             <IntImage Normal="main_back.png"/>
  104.         </Button>
  105.         <Button Family="5" Priority="1">
  106.             <IntImage TextID="21210" Command="Reload" Normal="main_reload.png" HelpTextID="10056"/>
  107.             <IntImage TextID="21235" Command="Stop" Normal="main_stop.png" HelpTextID="10143"/>
  108.         </Button>
  109.         <Button TextID="21211" Command="Next" HelpTextID="10031">
  110.             <IntImage Normal="main_forward.png"/>
  111.         </Button>
  112.         <Divider/>
  113.         <!-- Print, Copy, Find, Hotlist and FullScreen moved to appear after the back, stop/reload and forward buttons -->
  114.         <Button TextID="21209" Command="Previous" HelpTextID="10032">
  115.             <IntImage Normal="Previous.gif" OverNormal="Previous1.gif" OverPushed="Previous2.gif"/>
  116.         </Button>
  117.         <Button TextID="21212" Command="Home" HelpTextID="10072">
  118.             <IntImage Normal="main_home.png"/>
  119.         </Button>
  120.         
  121. <!-- Show active bookmarks -->
  122.         <Button TextID="21214" Command="Bookmarks" HelpTextID="10052" ShowWhenSimple="No">
  123.             <IntImage Normal="main_active_bookmark_folder.png"/>
  124.         </Button>
  125. <!-- -->
  126.         <Button TextID="21215" Command="Tile" HelpTextID="10019" ShowWhenSimple="No">
  127.             <IntImage Normal="main_tile.png"/>
  128.         </Button>
  129.         <Button TextID="21216" Command="Cascade" HelpTextID="10018" ShowWhenSimple="No">
  130.             <IntImage Normal="main_cascade.png"/>
  131.         </Button>
  132.     </Bar>
  133.  
  134.     <Bar Name="BookmarkBar" Border="Yes" Thickness="2" Width="20" Height="20" PreSpacing="3">
  135.         <Button Text="Parent" Command="Folder Up" HelpText="Go to parent folder">
  136.             <IntImage Normal="general_previous.png"/>
  137.         </Button>
  138.         <Button TextID="21200" Command="New Bookmark" HelpTextID="10923">
  139.             <IntImage Normal="hotlist_new_bookmark.png"/>
  140.         </Button>
  141.         <Button TextID="21199" Command="New Folder" HelpTextID="10921">
  142.             <IntImage Normal="general_new_folder.png"/>
  143.         </Button>
  144. <!-- Dead
  145.         <Button TextID="21213" Command="Goto" HelpTextID="10017">
  146.             <IntImage Normal="OpenURL.gif"/>
  147.         </Button>
  148. -->
  149.         <Button TextID="21190" Command="Get Info" HelpTextID="77773">
  150.             <IntImage Normal="Info.png"/>
  151.         </Button>
  152. <!-- Not yet supported, temporary disabled:
  153.         <Button TextID="21202" Command="Menu" HelpTextID="10922">
  154.             <IntImage Normal="Menu.gif"/>
  155.         </Button>
  156. -->
  157.     </Bar>
  158.  
  159. <!-- (Disabled, because it's not used on the Mac)
  160.     <Bar Name="ContactBar" Border="Yes" Thickness="2" Width="32" Height="32" PreSpacing="3">
  161.         <Button TextID="21201" Command="New Contact">
  162.             <IntImage Normal="NewContact.gif"/>
  163.         </Button>
  164.         <Button TextID="%ID_NewFolder;" Command="New Folder">
  165.             <IntImage Normal="NewFolder.gif"/>
  166.         </Button>
  167.         <Button TextID="%ID_Compose;" Command="Compose">
  168.             <IntImage Normal="Compose.gif"/>
  169.         </Button>
  170.         <Button TextID="21202" Command="Menu">
  171.             <IntImage Normal="Menu.gif"/>
  172.         </Button>
  173.     </Bar>
  174. -->
  175.  
  176.     <Bar Name="TransferBar" Border="Yes" Thickness="2" Width="34" Height="34" PreSpacing="3">
  177.         <Button TextID="21194" Command="Resume" HelpTextID="14134">
  178.             <IntImage Normal="transfers_resume.png"/>
  179.         </Button>
  180.         <Button Family="5" Priority="2" TextID="21196" Command="Stop" HelpTextID="14136">
  181.             <IntImage Normal="general_stop.png"/>
  182.         </Button>
  183.         <Button TextID="21195" Command="Retransfer" HelpTextID="14135">
  184.             <IntImage Normal="transfers_retransfer.png"/>
  185.         </Button>
  186. <!-- This might be possible later...
  187.         <Button>
  188.             <IntImage TextID="21194" Command="Resume" Normal="Resume.gif" HelpTextID="14134"/>
  189.             <IntImage TextID="21196" Command="Stop" Normal="general_stop.png" HelpTextID="14136"/>
  190.         </Button>
  191. -->
  192. <!-- Not yet supported, temporary disabled:
  193.         <Button TextID="21202" Command="Menu" HelpTextID="14137">
  194.             <IntImage Normal="Menu.gif"/>
  195.         </Button>
  196. -->
  197.     </Bar>
  198.  
  199.     <Bar Name="ProgressBar" Border="Never" Thickness="0" Width="20" Height="20" Padding="1">    <!-- The buttons in the progress-/link-bar should never have borders -->
  200.         <Button Family="1" Priority="2" HelpText="Shows security (drag this to save bookmark)">
  201.             <IntImage TextID="21401" Command="Security Level 0" Normal="addressbar_no_security.png" HelpTextID="21405"/>
  202.             <IntImage TextID="21402" Command="Security Level 1" Normal="addressbar_low_security.png" HelpTextID="21407"/>
  203.             <IntImage TextID="21402" Command="Security Level 2" Normal="addressbar_low_security.png" HelpTextID="21407"/>
  204.             <IntImage TextID="21403" Command="Security Level 3" Normal="addressbar_medium_security.png" HelpTextID="21409"/>
  205.             <IntImage TextID="21403" Command="Security Level 4" Normal="addressbar_medium_security.png" HelpTextID="21409"/>
  206.             <IntImage TextID="21404" Command="Security Level 5" Normal="addressbar_high_security.png" HelpTextID="21411"/>
  207.             <IntImage TextID="21404" Command="Security Level 6" Normal="addressbar_high_security.png" HelpTextID="21411"/>
  208.         </Button>
  209.         <Button Family="2" Priority="2" HelpTextID="10247">
  210.             <IntImage TextID="21236" Command="Load Images" Normal="addressbar_load_images.png"/>
  211.             <IntImage TextID="21238" Command="No Images" Normal="addressbar_no_images.png"/>
  212.             <IntImage TextID="21237" Command="Show Images" Normal="addressbar_show_images.png"/>
  213.         </Button>
  214.         <Button Family="3" Priority="2" HelpTextID="10724">
  215.             <IntImage TextID="22502" Command="Document Mode" Normal="windowbar_doc_complete.png"/> <!-- Sounds weird, but correct -->
  216.             <IntImage TextID="22503" Command="User Mode" Normal="hotlist_new_contact.png"/>
  217.         </Button>
  218.         <Button Family="4" Priority="2">
  219.             <IntImage TextID="21010" Command="Print View" Normal="addressbar_print_pv.png"/>
  220.             <IntImage TextID="21011" Command="Printview as screen" Normal="addressbar_print_pv.png"/>
  221.             <IntImage TextID="21012" Command="Printview active frame" Normal="addressbar_print_pv.png"/>
  222.             <IntImage TextID="21013" Command="Printview all frames" Normal="addressbar_print_pv.png"/>
  223.         </Button>
  224.         <Button Family="5" Priority="2" TextID="21235" Command="Stop" HelpTextID="10143">    <!-- if Tool bar is gone, show in progress bar -->
  225.             <IntImage Normal="general_stop.png"/>
  226.         </Button>
  227. <!-- The following is old (and will never be supported, however, a new tag may be implemented)...
  228.         <Button Position="1000" Command="Doc Progress" HelpTextID="10534">    <!- - this is not really a button, it's just a picture! - ->
  229.             <IntImage Normal="DocProg.gif"/>
  230.         </Button>
  231.         <Button Position="1001" Command="Fig Progress" HelpTextID="10535">    <!- - this is not really a button, it's just a picture! - ->
  232.             <IntImage Normal="FigProg.gif"/>
  233.         </Button>
  234. -->
  235.     </Bar>
  236.  
  237. <!-- The following is temporary, it'll change soon. -->
  238.     <Bar Name="DocProg" Border="Never">
  239.         <Button Command="Doc Progress" HelpTextID="10534">    <!-- this is not really a button, it's just a picture! -->
  240.             <IntImage Normal="windowbar_doc_complete.png"/>
  241.         </Button>
  242.     </Bar>
  243.  
  244.     <Bar Name="FigProg" Border="Never">
  245.         <Button Command="Fig Progress" HelpTextID="10535">    <!-- this is not really a button, it's just a picture! -->
  246.             <IntImage Normal="addressbar_load_images.png"/>
  247.         </Button>
  248.     </Bar>
  249. <!-- End of temporary stuff -->
  250.  
  251.  
  252.     <Bar Name="AddressBar" Priority="1" Border="Never" Thickness="0" Width="20" Height="20" Padding="1">    <!-- The buttons in the progress-/link-bar should never have borders -->
  253.         <Button Family="1" HelpText="Shows security (drag this to save bookmark)">
  254.             <IntImage TextID="21401" Command="Security Level 0" Normal="addressbar_no_security.png" HelpTextID="21405"/>
  255.             <IntImage TextID="21402" Command="Security Level 1" Normal="addressbar_low_security.png" HelpTextID="21407"/>
  256.             <IntImage TextID="21402" Command="Security Level 2" Normal="addressbar_low_security.png" HelpTextID="21407"/>
  257.             <IntImage TextID="21403" Command="Security Level 3" Normal="addressbar_medium_security.png" HelpTextID="21409"/>
  258.             <IntImage TextID="21403" Command="Security Level 4" Normal="addressbar_medium_security.png" HelpTextID="21409"/>
  259.             <IntImage TextID="21404" Command="Security Level 5" Normal="addressbar_high_security.png" HelpTextID="21411"/>
  260.             <IntImage TextID="21404" Command="Security Level 6" Normal="addressbar_high_security.png" HelpTextID="21411"/>
  261.         </Button>
  262.         <Button Family="2" HelpTextID="10247">
  263.             <IntImage TextID="21236" Command="Load Images" Normal="addressbar_load_images.png"/>
  264.             <IntImage TextID="21238" Command="No Images" Normal="addressbar_no_images.png"/>
  265.             <IntImage TextID="21237" Command="Show Images" Normal="addressbar_show_images.png"/>
  266.         </Button>
  267.         <Button Family="3" HelpTextID="10724">
  268.             <IntImage TextID="22502" Command="Document Mode" Normal="windowbar_doc_complete.png"/> <!-- Sounds weird, but correct -->
  269.             <IntImage TextID="22503" Command="User Mode" Normal="hotlist_new_contact.png"/>
  270.         </Button>
  271.         <Button Family="4">
  272.             <IntImage TextID="21010" Command="Print View" Normal="addressbar_print_pv.png"/>
  273.             <IntImage TextID="21011" Command="Printview as screen" Normal="addressbar_print_pv.png"/>
  274.             <IntImage TextID="21012" Command="Printview active frame" Normal="addressbar_print_pv.png"/>
  275.             <IntImage TextID="21013" Command="Printview all frames" Normal="addressbar_print_pv.png"/>
  276.         </Button>
  277.     </Bar>
  278.  
  279.     <!-- The LinkBar is for supporting the LINK element (First on Mac) -->
  280.     <Bar Name="LinkBar" Border="Never" Thickness="1" Width="11" Height="11" Padding="1">
  281.         <!-- Some items you might want in the linkbar:
  282.             * toc,contents        (table of contents)
  283.             * index                (alphabetical index)
  284.             * glossary
  285.             * up                (go to parent directory, or paragraph, chapter, index, home or host)
  286.             * about                (this is not a standard rel keyword)
  287.             * search            (go to a search page)
  288.             * alternate            (alternate languages)
  289.             * home,top
  290.             * prev,previous        (previous page)
  291.             * next                (next page)
  292.             * help
  293.         -->
  294.         <Button Text="Home" Command="Link" Parameter="Home" HelpText="Go to the homepage of this Web site">
  295.             <IntImage Normal="LinkHome.png"/>
  296.         </Button>
  297.         <Button Text="First" Command="Link" Parameter="first" HelpText="Go to the first page in this Web site">    <!-- "Prev" and "Previous" are treated in the same way -->
  298.             <IntImage Normal="LinkFirst.png"/>
  299.         </Button>
  300.         <Button Text="Prev" Command="Link" Parameter="Prev,Previous" HelpText="Go to the previous page in this Web site">    <!-- "Prev" and "Previous" are treated in the same way -->
  301.             <IntImage Normal="LinkPrev.png"/>
  302.         </Button>
  303.         <Button Text="Next" Command="Link" Parameter="Next" HelpText="Go to the next page in this Web site">
  304.             <IntImage Normal="LinkNext.png"/>
  305.         </Button>
  306.         <Button Text="Last" Command="Link" Parameter="Last" HelpText="Go to the last page in this Web site">    <!-- "Prev" and "Previous" are treated in the same way -->
  307.             <IntImage Normal="LinkLast.png"/>
  308.         </Button>
  309.         <Button Text="Up" Command="Link" Parameter="Up" HelpText="Go up one level (within this Web site)">
  310.             <IntImage Normal="LinkUp.png"/>
  311.         </Button>
  312.         <Button Text="Index" Command="Link" Parameter="Index,Toc" HelpText="Go to the index/TOC of this Web site">
  313.             <IntImage Normal="LinkIndex.png"/>
  314.         </Button>
  315.         <Button Text="Help" Command="Link" Parameter="Help" HelpText="Go to the help page for this Web site">
  316.             <IntImage Normal="LinkHelp.png"/>
  317.         </Button>
  318.         <Button Text="Search" Command="Link" Parameter="Search" HelpText="Go to the search page of this Web site">
  319.             <IntImage Normal="LinkSearch.png"/>
  320.         </Button>
  321.         <Button Text="Copyright" Command="Link" Parameter="Copyright" HelpText="Copyright  statement of this Web site">
  322.             <IntImage Normal="LinkCopyright.png"/>
  323.         </Button>
  324.         <Button Text="Author" Command="Link" Parameter="Author" HelpText="Mail the author of this Web site">
  325.             <IntImage Normal="LinkAuthor.png"/>
  326.         </Button>
  327.     </Bar>
  328.     <!-- -->
  329.  
  330. <!--
  331.     <Bar Name="LionBar" Border="No" Thickness="57" Width="3000" Height="27">
  332.         <Button TextID="%ID_Yummy;" Command="Eat" HelpText="This is extremly good.">
  333.             <IntImage Normal="VeryTastey.gif" OverNormal="EasterEgg.gif" OverPushed="www.browserwatch.com"/>
  334.         </Button>
  335.     </Bar>
  336. -->
  337.  
  338. </ButtonSet>
  339.